import request from '../request';

/**
 * 获取首页banners列表
 * @param {*} data 
 */
function banners(data) {
  return request({
    url: '/banner',
    data,
  })
}
/**
 * 推荐歌单
 * @param {*} data 
 */
function personalized(data) {
  return request({
    url: '/personalized',
    data,
  });
}
/**
 * 排行榜
 */
function toplist() {
  return request({
    url: '/toplist'
  })
}
/**
 * 歌单
 * /playlist/detail
 */
function playListDetail(data) {
  return request({
    url: "/playlist/detail",
    data
  });
}
export {
  banners,
  personalized,
  toplist,
  playListDetail
}